public class Main {
public static void main(String[] args) {
    // 示例：求解方程 2x^2 + 4x + 2 = 0
    QuadraticEquation equation = new QuadraticEquation(2, 4, 2);
    equation.solve();
}
}